[DRAFT] FEAT Add Agentic Prompt-Injection Boundary Pairs dataset loader#2175
Draft
3nesdeniz wants to merge 3 commits into
Draft
[DRAFT] FEAT Add Agentic Prompt-Injection Boundary Pairs dataset loader#21753nesdeniz wants to merge 3 commits into
3nesdeniz wants to merge 3 commits into
Conversation
…-injection-boundary-dataset # Conflicts: # doc/bibliography.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Closes #2174.
This PR adds a remote loader for the public CC BY 4.0 Agentic Prompt-Injection Boundary Pairs dataset:
The loader maps each row to a literal
SeedPromptand pins the immutable v1.0.0 Hugging Face revision. Before filtering, it validates required fields, label-dependent values, allowed families and source contexts, split metadata, duplicate IDs, and complete pair integrity.Family filtering uses
pair_familyso full-pair mode preserves both sides of a controlled pair. Agent-security decision labels and attack families remain in metadata rather than being misclassified as PyRIT harm categories. Pair members remain independent evaluation cases;pair_idpreserves the relationship without collapsing two prompts into oneSeedGroup.Source and release pipeline: https://github.com/3nesdeniz/agentic-prompt-injection-boundary-pairs
I am the dataset author and maintain the tagged source release. The dataset is synthetic, manually reviewed, and contains no customer or private data.
Tests and documentation
The loader is registered in dataset discovery and documented in the loading guide, notebook, and project bibliography.